package com.esun.payment_api.mapper;


import com.esun.payment_api.domain.DkCusSubs;
import com.esun.payment_api.dto.DkCusSubsQueryParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DkCusSubsMapper {

//    查询已订阅的往来单位
//    List<DkCusSubs> getList(@Param("queryParam") DkCusSubsQueryParam queryParam);
    List<DkCusSubs> getList(Integer dept_id ,String searchStr ,Integer co_id);

    //往来单位--订阅
    void customerSubscribe(Integer cusId, Short deptId, Short coId, Short userId);

    //往来单位--取消订阅
    void customerUnsubscribe(Integer cusId, Short deptId, Short coId, Short userId);
}
